<?php /*a:1:{s:47:"D:\phpstudy\WWW\tp6\view\admin\rule\addson.html";i:1577518779;}*/ ?>

<form class="layui-form  seller-alone-form" id="ruleAddson">
    <div class="layui-tab-content">
        <div class="layui-form layui-form-pane"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
            <div class="layui-form-item">
                <label class="layui-form-label"><i class="required-color">*</i>上级节点：</label>
                <div class="layui-input-block">
                    <select name="pid">
                        <option value="<?php echo htmlentities($ruleInfo['id']); ?>"><?php echo htmlentities($ruleInfo['title']); ?></option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label"><i class="required-color">*</i>节点名称：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="请输入节点名称" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><i class="required-color">*</i>控制器/方法：</label>
                <div class="layui-input-inline">
                    <input type="text" name="name"  placeholder="请输入名称" value="" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">格式：controller/method</div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><i class="required-color">*</i>图标：</label>
                <div class="layui-input-inline">
                    <input type="text" name="icon"  placeholder="请输入编码" value="" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label"><i class="required-color">*</i>排序：</label>
                <div class="layui-input-inline seller-inline-2">
                    <input type="text" name="sort" value="100" required lay-verify="required" placeholder="排序" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
    </div>
</form>

<script>
    layui.use('form', function(){
        layui.form.render();
    });
</script>